package top.wardyan.wbaseswt.conf.model;

import java.sql.Timestamp;

import top.wardyan.base.common.annotation.Table;
import top.wardyan.base.db.model.base.BaseNonstandardModel;
import top.wardyan.wbaseswt.conf.config.AppConfig;

@Table(tableName="SYSDATASET",primaryKey="sID",configName=AppConfig.CONFIGNAME)
public class SysDataset extends BaseNonstandardModel<SysDataset> {

	// private static final cn.hutool.log.Log log = cn.hutool.log.Log.get();
	
	// sID已经在父类里了
	
	public String getXName() {
		return this.getStr("xName");
	}
	public SysDataset setXName(String xName) {
		this.set("xName", xName);
		return this;
	}
	public Integer getXType() {
		return this.getInt("xType");
	}
	public SysDataset setXType(Integer xType) {
		this.set("xType", xType);
		return this;
	}
	public String getXTableName() {
		return this.getStr("xTableName");
	}
	public SysDataset setXTableName(String xTableName) {
		this.set("xTableName", xTableName);
		return this;
	}
	public String getXProcName() {
		return this.getStr("xProcName");
	}
	public SysDataset setXProcName(String xProcName) {
		this.set("xProcName", xProcName);
		return this;
	}
	public String getXSQL() {
		return this.getStr("xSQL");
	}
	public SysDataset setXSQL(String xSQL) {
		this.set("xSQL", xSQL);
		return this;
	}
	public Integer getRConfigID() {
		return this.getInt("rConfig_ID");
	}
	public SysDataset setRConfigID(Integer rConfig_ID) {
		this.set("rConfig_ID", rConfig_ID);
		return this;
	}
	

	public Timestamp getSCreateDate() {
		return this.getTimestamp("sCreateDate");
	}
	public SysDataset setSCreateDate(String sCreateDate) {
		this.set("sCreateDate", sCreateDate);
		return this;
	}
	public Timestamp getSLastUpdate() {
		return this.getTimestamp("sLastUpdate");
	}
	public SysDataset setSLastUpdate(String sLastUpdate) {
		this.set("sLastUpdate", sLastUpdate);
		return this;
	}
	public Integer getSVerNo() {
		return this.getInt("sVerNo");
	}
	public SysDataset setSVerNo(Integer sVerNo) {
		this.set("sVerNo", sVerNo);
		return this;
	}
	
}
